﻿#ifndef _ABSTRACTPOLL_H
#define _ABSTRACTPOLL_H

namespace SocketLib
{

class SocketFD;

class SocketFDPoll
{
public:
    SocketFDPoll();
    virtual    void        doPoll(long aTimeout)    = 0;
    virtual    void        addSocketFD(SocketFD*)   = 0;
    virtual    void        delSocketFD(SocketFD*)   = 0;
    virtual    void        onPollError()            = 0;
};

}

#endif
